package com.system.vo;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * 系统登录日志表
 * @author z
 *
 */
public class SysLoginLogVO {

	private String loginLogId;//主键
	
	private String orgId;   //机构ID
	
	private String roleId;  //角色ID
	
	private String roleName; // 登录角色
	
	private String staffId; //员工ID
	
	private String staffName; // 员工姓名
	
	private Date loginDate; //登录时间
	
	private String loginIp; //登录IP

	public String getLoginLogId() {
		return loginLogId;
	}

	public void setLoginLogId(String tableKey) {
		this.loginLogId = tableKey;
	}

	public String getOrgId() {
		return orgId;
	}

	public void setOrgId(String orgId) {
		this.orgId = orgId;
	}

	public String getRoleId() {
		return roleId;
	}

	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}

	public String getStaffId() {
		return staffId;
	}

	public void setStaffId(String staffId) {
		this.staffId = staffId;
	}
/*
	public Date getLoginDate() {
		return loginDate;
	}
*/
	public String getLoginDate() {
		return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.loginDate);
	}
	
	public void setLoginDate(Date loginDate) {
		this.loginDate = loginDate;
	}

	public String getLoginIp() {
		return loginIp;
	}

	public void setLoginIp(String loginIp) {
		this.loginIp = loginIp;
	}
	
	public String getStaffName() {
		return staffName;
	}
	
	public void setStaffName(String staffName) {
		this.staffName = staffName;
	}
	
	public String getRoleName() {
		return roleName;
	}
	
	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}
}
